<?php 

var_dump($_POST);

$message = isset($_POST['message']) ? $_POST['message'] :'';

echo $message = addslashes($message);

$str = "insert dw set message='{$message}' where id = '23' ";

var_dump($str);


// echo $message;


 ?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title></title>
</head>
<body>
	<form action="" method="post">
		<textarea name="message" id="" cols="30" rows="10"></textarea>

		<input type="submit">
	</form>


	
</body>
</html>